export default [
    {
        path: "auth-manager/role-list",
        name: "roleList",
        component: () => import("@/components/RoleList"),
        meta: {
            crumb: "首页_权限管理_角色列表",
        }
    },
    {
        path: "auth-manager/add-role",
        name: "addRole",
        component: () => import("@/components/AddRole"),
        meta: {
            crumb: "首页_权限管理_添加角色",
        }
    },
    {
        path: "auth-manager/edit-role",
        name: "editRole",
        component: () => import("@/components/AddRole"),
        meta: {
            crumb: "首页_权限管理_编辑角色",
        }
    },
    {
        path: "auth-manager/assign-auth/:rid?",
        name: "assignAuth",
        component: () => import("@/components/AssignAuth"),
        meta: {
            crumb: "首页_权限管理_分配权限",
        },
        props: true
    },
    {
        path: "auth-manager/auth-list",
        name: "authList",
        component: () => import("@/components/AuthList"),
        meta: {
            crumb: "首页_权限管理_权限列表",
        }
    },
    {
        path: "/vue-manager/auth-manager",
        redirect: {name: "roleList"}
    }
]